AutoXChange 2007 XML Reference Tailor Made Software  
Add New Entities

The following topics describe how to add new entities to the drawing file via the XML file. Each topic describes what is to be done, shows sample XML syntax and an image of the result.

The section begins with a <Add> tag and ends with a </Add> tag. One or more <AreaData> sections can be defined between the <Add>/</Add> tags.

The general syntax for the Block Reference changes section of the XML file is:

<Add>
    <AreaData>
        ...
    </AreaData>
    <AreaData>
        ...
    </AreaData>
    <AreaData>
        ...
    </AreaData>
</Add>

<AreaData>
    <Id>TI00003195</Id
>
    <Color>magenta</Color
>
    <ObjectNodes
>
        <ObjectNode Data1="Overview" Data2="RoomDetails"
/>
        <ObjectNode Data1="Desk" Data2="Oak - 3x6"
/>
        <ObjectNode Data1="Chair" Data2="Swivel - XLarge"
/>
    </ObjectNodes
>
    <Outline
>
        <DataLine x1="6518" y1="6521" x2="5663" y2="6521"
/>
        <DataLine x1="5663" y1="6521" x2="5663" y2="9656"
/>
        <DataLine x1="5663" y1="9656" x2="1768" y2="9656"
/>
        <DataLine x1="1768" y1="9656" x2="1768" y2="4051"
/>
        <DataLine x1="1768" y1="4051" x2="6518" y2="4051"
/>
        <DataLine x1="6518" y1="4051" x2="6518" y2="6521"
/>
    </Outline
>
    <HatchType>ANSI32</HatchType
>
    <Hyperlink>www.cadviewer.com</
Hyperlink>
</AreaData>

 

The following attributes can be added:

 

 

 



 
Copyright © 2006 Tailor Made Software, Ltd